[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api01.nas"]

		
		GLOBAL	_api_putstr ,_api_putstr_length
		

[SECTION .text]


_api_putstr:  ;void api_putstr(char *);
		PUSH	EBX
		MOV		EDX,2
		MOV		EBX,[ESP+8]		; s
		INT		0x40
		POP		EBX
		RET


_api_putstr_length: ;void api_putstr_length(char * ,int length)
		PUSH	EBX
		MOV		EDX,3
		MOV		EBX,[ESP+8]		; s
		MOV     ECX,[ESP+12]
		INT		0x40
		POP		EBX
		RET